package org.paradise.dms.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.directwebremoting.annotations.DataTransferObject;
import org.directwebremoting.annotations.RemoteProperty;

/**
 * 
 * Description: 公寓信息表pojo
 * 
 * Copyright (c) 2008-2009 paraDise sTudio(DT). All Rights Reserved.
 * 
 * @version 1.0 2009-3-18 下午08:18:31 李双江（paradise.lsj@gmail.com）created
 */
@Entity
@Table(name = "dormitory")
@DataTransferObject
public class Dormitory {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private int dormitoryid;   //宿舍id
	private int allocationid; // 宿舍预分配状态
	private int apartmentid; // 宿舍所属公寓id
	private int dormitorystatusid; // 宿舍状态id,与dormitorystatus对应,表示故障房,脏房等
	private String dormitoryname; // 宿舍的名称如：534
	private String dormitorydisplayname; // 宿舍的显示名称：一号楼4层441,这样是为了页面上显示宿舍名称的时候方便,避免用公寓号+楼层号+宿舍名称重新组合显示名称	
	private int dormitorysex; // 宿舍入住男生or女生
	private String dormitorytelephone; // 宿舍电话
	private String dormitorylodgetype; // 住宿房型
	private String dormitorybuildingtype;//建筑房型
	private String dormitorybuildingtypeaddress;//户型图路径
	private String dormitoryfee; // 宿舍年费
	private int dormitorysort; // 宿舍排序字段
	private int dormitorybednum;//床位数或可住人数
	private int dormitoryfloorno; // 宿舍在哪层阿
	private int dormitoryind; // 宿舍删除状态
	private int dormitoryfunction; // 宿舍的功能，住人or仓库(1表示住人，0表示仓库)
	private int dormitoryconcretefuncid;//这个是房间的具体功能,对应dormitoryconcretefunc表,一般学生,关系户,员工,临时住宿人员,subtopic,导员,水房,库房,办公室,其他,等
	private String dormitorymisc  ;//房间的备注
	private String dormitorydirection;  //朝向
	private String dormitorylevel ;//档次 ,一般指有没有卫生间
	private double dormitorysquare; //面积
	private int issuite;//是否套间,1为是,0为否
	private int suitename;//套间名,如2斋106a,106b,则显示为"2 106"



	public int getIssuite() {
		return issuite;
	}

	public void setIssuite(int issuite) {
		this.issuite = issuite;
	}

	public String getDormitorydirection() {
		return dormitorydirection;
	}

	public void setDormitorydirection(String dormitorydirection) {
		this.dormitorydirection = dormitorydirection;
	}

	public String getDormitorylevel() {
		return dormitorylevel;
	}

	public void setDormitorylevel(String dormitorylevel) {
		this.dormitorylevel = dormitorylevel;
	}

	public double getDormitorysquare() {
		return dormitorysquare;
	}

	public void setDormitorysquare(double dormitorysquare) {
		this.dormitorysquare = dormitorysquare;
	}

	public int getDormitoryid() {
		return dormitoryid;
	}

	public void setDormitoryid(int dormitoryid) {
		this.dormitoryid = dormitoryid;
	}

	public int getAllocationid() {
		return allocationid;
	}

	public void setAllocationid(int allocationid) {
		this.allocationid = allocationid;
	}

	public int getApartmentid() {
		return apartmentid;
	}

	public void setApartmentid(int apartmentid) {
		this.apartmentid = apartmentid;
	}

	public int getDormitorystatusid() {
		return dormitorystatusid;
	}

	public void setDormitorystatusid(int dormitorystatusid) {
		this.dormitorystatusid = dormitorystatusid;
	}

	public String getDormitoryname() {
		return dormitoryname;
	}

	public void setDormitoryname(String dormitoryname) {
		this.dormitoryname = dormitoryname;
	}

	public String getDormitorydisplayname() {
		return dormitorydisplayname;
	}

	public void setDormitorydisplayname(String dormitorydisplayname) {
		this.dormitorydisplayname = dormitorydisplayname;
	}

	public String getDormitorytelephone() {
		return dormitorytelephone;
	}

	public void setDormitorytelephone(String dormitorytelephone) {
		this.dormitorytelephone = dormitorytelephone;
	}

	public String getDormitorylodgetype() {
		return dormitorylodgetype;
	}

	public void setDormitorylodgetype(String dormitorylodgetype) {
		this.dormitorylodgetype = dormitorylodgetype;
	}

	public String getDormitorybuildingtype() {
		return dormitorybuildingtype;
	}

	public void setDormitorybuildingtype(String dormitorybuildingtype) {
		this.dormitorybuildingtype = dormitorybuildingtype;
	}

	public String getDormitorybuildingtypeaddress() {
		return dormitorybuildingtypeaddress;
	}

	public void setDormitorybuildingtypeaddress(String dormitorybuildingtypeaddress) {
		this.dormitorybuildingtypeaddress = dormitorybuildingtypeaddress;
	}

	public String getDormitoryfee() {
		return dormitoryfee;
	}

	public void setDormitoryfee(String dormitoryfee) {
		this.dormitoryfee = dormitoryfee;
	}

	public int getDormitorysort() {
		return dormitorysort;
	}

	public void setDormitorysort(int dormitorysort) {
		this.dormitorysort = dormitorysort;
	}

	public int getDormitorybednum() {
		return dormitorybednum;
	}

	public void setDormitorybednum(int dormitorybednum) {
		this.dormitorybednum = dormitorybednum;
	}


	public int getDormitoryfloorno() {
		return dormitoryfloorno;
	}

	public void setDormitoryfloorno(int dormitoryfloorno) {
		this.dormitoryfloorno = dormitoryfloorno;
	}

	public int getDormitoryind() {
		return dormitoryind;
	}

	public void setDormitoryind(int dormitoryind) {
		this.dormitoryind = dormitoryind;
	}

	public int getDormitoryfunction() {
		return dormitoryfunction;
	}

	public void setDormitoryfunction(int dormitoryfunction) {
		this.dormitoryfunction = dormitoryfunction;
	}


	public int getDormitoryconcretefuncid() {
		return dormitoryconcretefuncid;
	}

	public void setDormitoryconcretefuncid(int dormitoryconcretefuncid) {
		this.dormitoryconcretefuncid = dormitoryconcretefuncid;
	}

	public String getDormitorymisc() {
		return dormitorymisc;
	}

	public void setDormitorymisc(String dormitorymisc) {
		this.dormitorymisc = dormitorymisc;
	}

	public int getDormitorysex() {
		return dormitorysex;
	}

	public void setDormitorysex(int dormitorysex) {
		this.dormitorysex = dormitorysex;
	}

	public int getSuitename() {
		return suitename;
	}

	public void setSuitename(int suitename) {
		this.suitename = suitename;
	}


	

}
